package com.ruiwen.imuser.mapper;

import com.ruiwen.imuser.model.entity.UserEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {


    UserEntity getById(@Param("id") Integer id);

    void addUser(UserEntity userEntity);

    int updateById(UserEntity userEntity);

}
